Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Gargoyle thermal vision (Visceratika 2+), refactors sight trait updates #646

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Miraviel
Copy link
Contributor

About The Pull Request

Ties update_sight() to the gaining/removal of sight-altering traits, rather than individual use-cases calling update_sight() whenever they assign or remove these traits (thermal, night vision, x-ray).

This fixes the gargoyle thermal vision from Visceratika 2+, it did not work unless something else called update_sight() on them.

Sadly, the signal for adding or removing traits don't handle sources, so I couldn't group these and turn it into a switch case.

Testing:

  1. Activated Visceratika 2, noticed mobs immediately showing up. Waited. Mobs disappeared from sight when it was removed.
    image

  2. Activated Feng Shui 1, noticed I can see mob. Waited. Mob begone.
    image

  3. Activated Auspex 5, re-entered body, saw blue tint + auras for a little more, then they went away.
    image

Why It's Good For The Game

Bugs bad, fixes this report on Discord:

image

Changelog

fix: Fixes the thermal vision gained from Visceratika 2 and above to immediately work, now it turns on and off as it should.

@Miraviel Miraviel changed the title Gargoyle sight fix Fixes Gargoyle thermal vision (Visceratika 2+), refactors sight trait updates Jan 29, 2025
@XanderDox
Copy link
Contributor

Also the thermal vision seems to remain for quite awhile, I've had it stay active long after the ability ends.

@XanderDox XanderDox added Fix Rewrites a bug so it appears in different circumstances Feature Freeze Wait in line behind this PR labels Feb 9, 2025
@XanderDox
Copy link
Contributor

Hello! Your PR has been marked as Feature Freeze as it relates to Species/Splat code.

A Maintainer may decide to exempt your PR. Until then, you are encouraged to direct your PR to the ongoing species refactor branch.

@XanderDox XanderDox added Frozen Wait for someone else's PR to be merged and removed Feature Freeze Wait in line behind this PR labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Rewrites a bug so it appears in different circumstances Frozen Wait for someone else's PR to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants